﻿
public class UnsubscribeMeBO
    {
   
        private string _userName ;
		private string _password;
        private int _accountId;

        public int AccountId
        {
            get { return _accountId; }
            set { _accountId = value; }
        }


        public UnsubscribeMeBO(string username)
        {
            UserName = username;

        }
        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

     UnsubscribeMeDAL _UnsubscribeMeDAL = new UnsubscribeMeDAL();

     public int UnSubscribeCustomer()
     {
         try
         {

             return _UnsubscribeMeDAL.UnSubscribeMe(UserName);

         }

         catch
         {

             throw;

         }

         finally
         {

             _UnsubscribeMeDAL = null;

         }
        
     }

    }

